<ion-header>

  <ion-navbar>
    <ion-title>我的银行卡</ion-title>
    <ion-buttons end>
      <button ion-button icon-only [navPush]="'AddBankCardPage'">
        <ion-icon name="ios-add"></ion-icon>添加
      </button>
    </ion-buttons>
  </ion-navbar>

</ion-header>


<ion-content padding>
  <ion-card margin-bottom *ngFor="let item of bankCards">
    <div class="delete-card" (click)="deleteBindBank(item.bankNumber)">
      <ion-icon name="md-close" class="color-orange"></ion-icon>
    </div>
    <div class="p color-dark-thc">{{item.bankName}}—{{item.subBank}}</div>
    <div class="p bg-thc-blue"></div>
    <div class="card-title color-dark-thc">{{item.bankNumber}}</div>
    <div class="card-subtitle color-dark-thc">{{item.bankMan}}</div>
    <div class="letter-bg fr color-dark-thc">BANK</div>
  </ion-card>
  <div class="text-center" *ngIf="bankCards.length < 1">
    <div>您还未绑定银行卡</div>
  </div>
</ion-content>
